/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


#slider-apps-table  {

  #slider-table {
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 13px\9;
    table-layout: fixed;

    th {
      width: 17.5%!important;
    }

    select {
      height: 23px;
      margin-bottom: 10px;
      font-size: 75%;
    }

    .label-row {
      font-size: 0.9em;
      th {
        padding: 4px;
        border-bottom: none !important;
      }
      .active-sort {
        color: #555555;
        text-decoration: none;
        background-color: #e5e5e5;
        -webkit-box-shadow: inset 0 5px 8px rgba(0, 0, 0, 0.100);
        -moz-box-shadow: inset 0 5px 8px rgba(0, 0, 0, 0.100);
        box-shadow: inset 0 5px 8px rgba(0, 0, 0, 0.100);
      }
    }

    #filter-row {
      th {
        padding: 0 0 0 4px;
      }
      .active-filter {
        color: #555555;
        text-decoration: none;
        background-color: #e5e5e5;
        -webkit-box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
        -moz-box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
        box-shadow: inset 0 -5px 8px rgba(0, 0, 0, 0.05);
      }
      input {
        font-size: 12px;
        height: 24px;
        margin-bottom: 10px;
      }
      .filter-btn {
        color: #999999;
        font-size: 12px;
        line-height: 14px;
        padding-left: 6px;
        text-align: left;
        width: 100px;
        .icon-filter {
          color: #999999;
        }
      }
    }
    thead {
      background: none repeat scroll 0 0 #F8F8F8;
      border-top: 1px solid #ddd;
    }
  }
  .page-bar {
    border: 1px solid #E4E4E4;
    color: #7B7B7B;
    text-align: right;
    font-size: 12px;
    label {
      font-size: 12px;
      font-weight: normal;
    }
    div {
      display: inline-block;
      margin:0 10px;
    }
    .filtered-hosts-info, .selected-hosts-info {
      float: left;
      text-align: left;
      margin-top: 8px;
      margin-left: 17px;
    }
    .items-on-page {
      label {
        display:inline;
      }
      select {
        margin-bottom: 4px;
        margin-top: 4px;
        width:70px;
        font-size: 12px;
        height: 27px;
        padding: 4px 6px;
      }
    }
    .paging_two_button {
      a.paginate_disabled_next, a.paginate_disabled_previous {
        color: gray;
        &:hover {
          color: gray;
          text-decoration: none;
          cursor: default;
        }
      }

      a.paginate_next, a.paginate_previous {
        &:hover {
          text-decoration: none;
          cursor: pointer;
        }
      }
      a {
        padding:0 5px;
      }
    }
  }
  .box-header {
    margin-left: 0;
    .btn-group {
      float: left;
    }
    .btn.decommission {
      margin-left: 5px;
    }
    .btn.add-host-button {
      margin-bottom: 10px;
      margin-top: -5px;
    }
    .hosts-actions {
      margin-right: 10px;
    }
    .health-status-bar {
      font-size: 0.9em;
      margin-left: 0;
      color: #b4b4b4;
      a {
        text-decoration: none;
      }
      .category-item:hover {
        cursor: pointer;
        a {
          color: #ffffff;
        }
      }
      .active {
        a {
          color: #ffffff;
        }
        background-color: #888888;
        border-color: #888888;
        -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
        box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
      }
      .category-item.active:hover {
        a {
          color: #ffffff;
        }
      }
    }
  }

  .filter-input-width{
    width:68%;
    font-weight: normal;
  }
  .table {

    thead {
      tr {
        th {
          border-bottom: none;
        }
      }
    }

    table-layout: fixed;
    th {
      border-top: none;
    }
    th, td {
      padding-left: 4px;
      padding-right: 4px;
      border-left-width: 0;
    }
    input[type="checkbox"] {
      margin: -2px 0 0 0;
    }

    .sorting_asc {
      background: url() no-repeat right 50%;
    }
    .sorting_desc {
      background: url() no-repeat right 50%;
    }
    .sorting {
      background: url() no-repeat right 50%;
    }
    div.view-wrapper {
      input[type="checkbox"], .btn-group {
        margin-bottom: 9px;
      }
    }

    a.ui-icon-circle-close {
      float: right;
      opacity: 0.2;
      padding: 1px 0;
      position: relative;
      right: 0px;
      margin-top: 3px;
      z-index: 10;
      &:hover {
        opacity: 0.7;
      }
    }
    .notActive {
      a.ui-icon-circle-close {
        visibility: hidden;
      }
    }
  }

  .open-group > .dropdown-menu {
    display: block;
  }
  .nav-pills li.disabled {
    display: block;
    margin: 2px 0;
    padding: 8px 12px;
    line-height: 14px;
  }
  .box-footer .footer-pagination {
    float: right;
    .nav {
      margin-bottom: 0;
    }
    .dropdown {
      margin-top: 3px;
    }
    .dropdown {
      margin-top: 3px;
    }
    .dropdown select {
      width: 60px;
    }
    .page-listing a {
      line-height: 0;
      border: none;
      margin: 0 10px 0 0;
      cursor: pointer;
      color: #0088CC;
      padding: 8px 0;
      float: left;
      text-decoration: underline;
    }
    .page-listing a:hover {
      text-decoration: none;
    }
    .page-listing {
      width: 100px;
      .table {
        th.name {
          width: 300px;
          a.filter-label {
            width: 57px;
            display: block;
            float: left;
          }
        }
      }
    }
  }
  .host-components-expander {
    .icon-caret-right, .icon-caret-down {
      vertical-align: middle;
      margin-right: 5px;
      margin-bottom: 2px;
      text-decoration: none;
    }
  }
  .host-components {
    display: none;
    padding-left: 13px;
  }
  .sort-wrapper .column-name {
    cursor: pointer;
    padding-right: 18px;
  }
  .table-bordered  {
    border-left:1px solid #dddddd;
  }
}